// -----------------------------------------------------------------------------
// Generate By Furion Tools v1.6.0                            
// -----------------------------------------------------------------------------

using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;

#nullable disable

namespace iemtm.WeChat.Core
{
    public partial class FuelTankType : IEntity<MasterDbContextLocator>, IEntityTypeBuilder<FuelTankType, MasterDbContextLocator>
    {

        public string FuelTankTypeId { get; set; }
        public string FuelTankTypeName { get; set; }
        public int? FuelTankTypeShape { get; set; }
        public string Description { get; set; }
        public double? CircleHeight { get; set; }
        public double? CircleRadius { get; set; }
        public double? SquareHeight { get; set; }
        public double? SquareLength { get; set; }
        public double? SquareWidth { get; set; }
        public double? TotalVolume { get; set; }
        public double? PercentLiter { get; set; }
        public string PrjCode { get; set; }
        public string PrjName { get; set; }
    
        public void Configure(EntityTypeBuilder<FuelTankType> entityBuilder, DbContext dbContext, Type dbContextLocator)
        {
                entityBuilder.Property(e => e.FuelTankTypeId).HasMaxLength(50);

                entityBuilder.Property(e => e.Description).HasMaxLength(500);

                entityBuilder.Property(e => e.FuelTankTypeName).HasMaxLength(200);

                entityBuilder.Property(e => e.PrjCode).HasMaxLength(50);

                entityBuilder.Property(e => e.PrjName).HasMaxLength(200);
        }

    }
}

